package com.yunhe.sms.entity.system;

import com.yunhe.commens.entity.BaceEntity;

/**
 * 用户实体
 */
public class User extends BaceEntity {
    private  String userName;  //用户名
    private  String password;  //密码
    private   Long roleId;  //角色类型
    private int status=0;//状态0 ：停用 1：启用
    private String phone;//手机号
    private String mail;//邮箱
    private  String roleName;//角色名称（只作为列表展示用）


    public User() {}

    public User(String userName, String password) {
        this.userName = userName;
        this.password = password;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getMail() {
        return mail;
    }

    public void setMail(String mail) {
        this.mail = mail;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }
}
